package com.hj.dapp.common.constant;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2023/12/30
 */
public enum DictEnum {
    /**
     *  禁用
     */
    DISABLE_STATUS("DISABLE",0),
    /**
     *  启用
     */
    ENABLE_STATUS("ENABLE",1),

    DELETE_FLAG("DELETE",-1),

    NORMAL_FLAG("NORMAL", 0),

    ADMIN_FLAG("admin", 1),

    DIR_TYPE("DIR", 0),
    MENU_TYPE("menu", 1),
    BUTTON_TYPE("BUTTON", 2);
    private String label;

    private Integer value;

    DictEnum(String label, Integer value) {
        this.label = label;
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public Integer getValue() {
        return value;
    }
}
